<template>
  <div>
    <component :is="active"></component>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  components: {
    Home: require('./page/Home.vue').default,
    About: require('./page/About.vue').default,
    Explore: require('./page/Explore.vue').default,
  },
  computed: {
    ...mapState(['active']),
  },
}
</script>

<style></style>
